package com.itheima.reggie.demo;

import org.springframework.util.DigestUtils;


/**
 * MD5加密演示
 *
 * @Author Vsunks.v
 * @Date 2022/8/10 9:29
 * @Blog blog.sunxiaowei.net/996.mba
 * @Description: MD5加密演示
 */
public class Md5Demo {
    public static void main(String[] args) {
        String pwd = DigestUtils.md5DigestAsHex("845972".getBytes());
        System.out.println("pwd = " + pwd);

    }
}
